package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfCollectionDao;
import com.wfcm.entity.WfCollectionEntity;
import com.wfcm.service.WfCollectionService;



@Service("wfCollectionService")
public class WfCollectionServiceImpl implements WfCollectionService {
	@Autowired
	private WfCollectionDao wfCollectionDao;
	
	@Override
	public WfCollectionEntity queryObject(Integer id){
		return wfCollectionDao.queryObject(id);
	}
	
	@Override
	public List<WfCollectionEntity> queryList(Map<String, Object> map){
		return wfCollectionDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfCollectionDao.queryTotal(map);
	}
	
	@Override
	public void save(WfCollectionEntity wfCollection){
		wfCollectionDao.save(wfCollection);
	}
	
	@Override
	public void update(WfCollectionEntity wfCollection){
		wfCollectionDao.update(wfCollection);
	}
	
	@Override
	public void delete(Map<String, Object> map){
		wfCollectionDao.delete(map);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfCollectionDao.deleteBatch(ids);
	}

	@Override
	public List<WfCollectionEntity> queryCourseList(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfCollectionDao.queryCourseList(map);
	}

	@Override
	public List<WfCollectionEntity> queryChapterList(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfCollectionDao.queryChapterList(map);
	}

	@Override
	public List<WfCollectionEntity> queryVipCardList(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfCollectionDao.queryVipCardList(map);
	}

	@Override
	public WfCollectionEntity queryCollection(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfCollectionDao.queryCollection(map);
	}

	@Override
	public List<WfCollectionEntity> queryCollectionList(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return wfCollectionDao.queryCollectionList(map);
	}
	
}
